<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:97:"D:\phpStudy\PHPTutorial\WWW\dk.eatchickengame.com/application/admin\view\index\projectconfig.html";i:1532854238;s:88:"D:\phpStudy\PHPTutorial\WWW\dk.eatchickengame.com/application/admin\view\public\top.html";i:1531294097;s:89:"D:\phpStudy\PHPTutorial\WWW\dk.eatchickengame.com/application/admin\view\public\left.html";i:1532914234;}*/ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title></title>
    <!-- Bootstrap Styles-->
    <link href="__BACK__/css/bootstrap.css" rel="stylesheet"/>
    <!-- FontAwesome Styles-->
    <link href="__BACK__/css/font-awesome.css" rel="stylesheet"/>
    <!-- Custom Styles-->
    <link href="__BACK__/css/custom-styles.css" rel="stylesheet"/>
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'/>
</head>
<body>
<div id="wrapper">
    <nav class="navbar navbar-default top-navbar" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="index.html"><i class="fa fa-gear"></i> <strong>HYBRID</strong></a>
    </div>

    <ul class="nav navbar-top-links navbar-right">
        <!-- /.dropdown -->
        <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
            </a>
            <ul class="dropdown-menu dropdown-user">
  <!--              <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                </li>
                <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
                </li>-->
                <li class="divider"></li>
                <li><a href="<?php echo url('User/outlogin'); ?>"><i class="fa fa-sign-out fa-fw"></i>退出</a>
                </li>
            </ul>
            <!-- /.dropdown-user -->
        </li>
        <!-- /.dropdown -->
    </ul>
</nav>
    <!--/. NAV TOP  -->
    <nav class="navbar-default navbar-side" role="navigation">
    <div id="sideNav" href=""><i class="fa fa-caret-right"></i></div>
    <div class="sidebar-collapse">
        <ul class="nav" id="main-menu">
            <li>
                <a href="#"><i class="fa fa-sitemap"></i>系统设置<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level ">
                    <li>
                        <a <?php if($actionName == 'sysconfig'): ?> class="active-menu" <?php endif; ?> href="<?php echo url('index/sysconfig'); ?>">基本设置</a>
                    </li>
                    <li>
                        <a <?php if($actionName == 'sysconfig'): ?> class="active-menu" <?php endif; ?> href="<?php echo url('index/projectconfig'); ?>">活动设置</a>
                    </li>
                    <li>
                        <a <?php if($actionName == 'sysconfig'): ?> class="active-menu" <?php endif; ?> href="<?php echo url('setting/help'); ?>">帮助设置</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-sitemap"></i>用户管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="<?php echo url('index/userList'); ?>">用户列表</a>
                    </li>
                </ul>
            </li>

            <li>
                <a href="#"><i class="fa fa-sitemap"></i>活动管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="<?php echo url('index/project'); ?>">活动列表</a>
                        <a href="<?php echo url('index/itemlist'); ?>">打卡列表</a>
                    </li>
                </ul>
            </li>


            <li>
                <a href="#"><i class="fa fa-sitemap"></i>提现管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="<?php echo url('cash/cashlist'); ?>">提现列表</a>
                    </li>
                </ul>
            </li>

            <li>
                <a href="#"><i class="fa fa-sitemap"></i>优惠券管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="<?php echo url('index/discounts_list'); ?>">优惠券列表</a>
                        <a href="<?php echo url('index/add_discount'); ?>">添加优惠券</a>
                    </li>
                </ul>
            </li>
           <!-- <li>
                <a href="tab-panel.html"><i class="fa fa-qrcode"></i> Tabs & Panels</a>
            </li>

            <li>
                <a href="#"><i class="fa fa-sitemap"></i> Multi-Level Dropdown<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="#">Second Level Link</a>
                    </li>
                    <li>
                        <a href="#">Second Level Link</a>
                    </li>
                    <li>
                        <a href="#">Second Level Link<span class="fa arrow"></span></a>
                        <ul class="nav nav-third-level">
                            <li>
                                <a href="#">Third Level Link</a>
                            </li>
                            <li>
                                <a href="#">Third Level Link</a>
                            </li>
                            <li>
                                <a href="#">Third Level Link</a>
                            </li>

                        </ul>

                    </li>
                </ul>
            </li>-->
        </ul>

    </div>

</nav>
    <!--/. NAV TOP  -->

    <!-- /. NAV SIDE  -->
    <div id="page-wrapper">
        <div id="page-inner">
            <div class="row">
                <div class="col-md-12">
                    <h1 class="page-header">
                        基本设置
                    </h1>
                </div>
            </div>
            <!-- /. ROW  -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            挑战活动设置
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <!-- /.col-lg-6 (nested) -->
                                <div class="col-lg-6">

                                    <form role="form" method="post" >
                                        <input type="hidden" name="id" value="1">
                                        <form action="" method="post" role="form">

                                        <div class="form-group ">
                                            <label class="control-label" for="days">活动挑战周期(天)</label>
                                            <input type="text" class="form-control" id="days" name="days"  value="<?php echo $sys['days']; ?>">
                                        </div>

                                        <div class="form-group ">
                                            <label class="control-label" for="cut_money">平台盈利百分比</label>
                                            <input type="text" class="form-control" id="cut_money" name="cut_money"  value="<?php echo $sys['cut_money']; ?>">
                                        </div>

                                        <div class="form-group ">
                                                <label class="control-label" for="reaward_rate">推广下级奖金利率设置</label>
                                                <input type="text" class="form-control" id="reward_rate" name="reward_rate"  value="<?php echo $sys['reward_rate']; ?>">
                                        </div>

                                         <div class="form-group ">
                                                <!--< class="control-label" for="profit_rate">三级分销佣金利率设置</>-->
                                                 <div class="panel-heading">
                                                     <h4 class="panel-title">三级分销佣金利率设置</h4>
                                                 </div>
                                             <label class="control-label" for="">一级利率</label>
                                             <input type="text" class="form-control" id="" name="profit_rate[rate1]"  value="<?php echo $profit['rate1']; ?>">
                                             <label class="control-label" for="">二级利率</label>
                                             <input type="text" class="form-control" id="" name="profit_rate[rate2]"  value="<?php echo $profit['rate2']; ?>">
                                             <label class="control-label" for="">三级利率</label>
                                             <input type="text" class="form-control" id="" name="profit_rate[rate3]"  value="<?php echo $profit['rate3']; ?>">
                                         </div>

                                        <button type="submit" class="btn btn-default">保存</button>
                                        <button type="reset" class="btn btn-default">重置</button>
                                    </form>


                                </div>
                                <!-- /.col-lg-6 (nested) -->
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <footer>
            </footer>
        </div>
        <!-- /. PAGE INNER  -->
    </div>
    <!-- /. PAGE WRAPPER  -->
</div>
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<script src="__BACK__/js/jquery-1.10.2.js"></script>
<!-- Bootstrap Js -->
<script src="__BACK__/js/bootstrap.min.js"></script>
<!-- Metis Menu Js -->
<script src="__BACK__/js/jquery.metisMenu.js"></script>
<!-- Custom Js -->
<script src="__BACK__/js/custom-scripts.js"></script>


</body>
</html>
